#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from handle.sub.cyzone import CyzoneProjectListHandler, CyzoneProjectHandler
from generate.sub.cyzone import CyzoneProjectListGenerator, CyzoneProjectGenerator

from handle.sub.sycm import SycmWordHandler
from generate.sub.sycm import SycmWordGenerator


# {task_type: {action_type: deal_class}
def get_task_dic():
    return {
        'download_cyzone_project': {
            'handler': CyzoneProjectHandler,
            'generator': CyzoneProjectGenerator
        },
        'download_cyzone_project_list': {
            'handler': CyzoneProjectListHandler,
            'generator': CyzoneProjectListGenerator
        },
        'download_sycm_word': {
            'handler': SycmWordHandler,
            'generator': SycmWordGenerator
        },
    }
